package com.woniu.zsd.platform.service;

import com.woniu.zsd.common.web.PageInfo;
import com.woniu.zsd.platform.dto.AccountDto;
import com.woniu.zsd.platform.model.Account;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.zsd.platform.param.AccountParam;
import com.woniu.zsd.platform.param.AddAccountParam;
import com.woniu.zsd.platform.param.ChatParam;
import com.woniu.zsd.platform.param.SelectAccountParam;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangtao
 * @since 2025年02月18日
 */
public interface AccountService extends IService<Account> {

    AccountDto AccountLogin(AccountParam param) throws Exception;

    void AddAccount(AddAccountParam param) throws Exception;

    PageInfo selectAccount(SelectAccountParam param) throws Exception;

    void chat(ChatParam param);

    List<String> selectAccountNoRole() throws Exception;

    void chatWithCustomer(ChatParam param);

    Set selectCustomerServiceChatHistory(Integer customerId);

}
